﻿

namespace YY.Admin.Application.Service
{
    public interface ISysAuthService
    {
        Task<LoginResponse> LoginAsync(LoginRequest request);
        Task LogoutAsync();
        Task<bool> IsAuthenticatedAsync();
        SysUser? CurrentUser { get; }
        event EventHandler<SysUser?> UserChanged;
    }
}
